import random
class Solution:

    def __init__(self, nums):
        self.old = nums

    def reset(self):
        """
        Resets the array to its original configuration and return it.
        """
        return self.old

    def shuffle(self):
        """
        Returns a random shuffling of the array.
        """
        new = self.old.copy()
        random.shuffle(new)
        return new


if __name__ == '__main__':
    so = Solution()
    s = "abc"
    t = "ahbgdc"
    r = so.isSubsequence(s, t)
    print(r)
